package com.sven.hello.mq;

import org.springframework.cloud.stream.annotation.EnableBinding;
import org.springframework.cloud.stream.annotation.StreamListener;
import org.springframework.cloud.stream.messaging.Sink;

// @EnableBinding(value = {Sink.class, SinkSender.class})
public class SinkReceiver {

    //将输入通道绑定到名为input的主题中
    // @StreamListener(Sink.INPUT)
    // public void receive(Object payload) {
    //     System.out.println("receive : " + payload);
    // }

}
